export interface ListInt {
    id: number,
    nickName: string,
    role: RoleInt[],
    userName: string
}

interface RoleInt {
    role: number,
    roleName: string,
}

interface SelectDataInt {
    role: number,
    nickName: string
}

interface RoleListInt {
    authority: number[]
    roleId: number
    roleName: string
}

interface ActiveInt{
    id: number,
    nickName: string,
    role: number[],
    userName: string
}

export class InitData {
    selectData: SelectDataInt = {
        nickName: "",
        role: 0,
    }
    list: ListInt[] = [] //用来接受用户信息的列表
    roleList:RoleListInt[] = [] //用来接受角色信息的列表
    isShow= false
    active:ActiveInt={
        id: 0,
        nickName: "",
        role: [],
        userName: ""
    }
}

